﻿using B.Z.Inventory.ErrorCode;
using MediatR;

namespace B.Z.Inventory.API.Write.Application.Command
{
    public class IntOutStoreAddCommand:IRequest<APIResult<int>>
    {

        /// <summary>
        /// 所属任务单号
        /// </summary>
        public string InventoryId { get; set; }
        /// <summary>
        /// 出入库单号
        /// </summary>
        public string InStoreNo { get; set; }
        /// <summary>
        /// 出入库的商品
        /// </summary>
        public string GoodsIds { get; set; }
        /// <summary>
        /// 差异数量数组字符串（不同的货品不同的差异）
        /// </summary>
        public string DifferentCount { get; set; }
        /// <summary>
        /// 实际库存数量数组字符串（手动输入的实际库存值）
        /// </summary>
        public string ActualNums { get; set; }
        /// <summary>
        /// 所属仓库
        /// </summary>
        public int StoreId { get; set; }
        /// <summary>
        /// 出入库数量
        /// </summary>
        public int Count { get; set; }
        /// <summary>
        /// 出库原因
        /// </summary>
        public string? Reson { get; set; }
        /// <summary>
        /// true入库
        /// false出库
        /// </summary>
        public bool IsIntOrOut { get; set; }
        /// <summary>
        /// 经办人Id
        /// </summary>
        public int AttnId { get; set; }
        /// <summary>
        /// 经办人名称
        /// </summary>
        public string AttnName { get; set; }
        /// <summary>
        /// 创建人名称
        /// </summary>
        public string CreateUserName { get; set; }

        /// <summary>
        /// 出入库时间
        /// </summary>
        public DateTime? IntOutStoreTime { get; set; }

    }
}
